package org.batatasframework.properties.macro;

import org.batatasframework.expression.ExpressionClause;
import org.batatasframework.properties.PropertiesResource;
import org.batatasframework.properties.beans.InternalProperitesGroup;
import org.batatasframework.properties.beans.InternalPropertiesDefine;

public abstract class AbstractMacroCommandHandler implements MacroCommandHandler{

	@Override
	public InternalPropertiesDefine beforeDefine(MacroCommand command, 
			PropertiesResource resource, InternalPropertiesDefine define) { 
		return define;
	}

	@Override
	public InternalPropertiesDefine afterDefine(MacroCommand command, 
			PropertiesResource resource, InternalPropertiesDefine define) { 
		return define;
	}

	@Override
	public InternalProperitesGroup beforeGroup(MacroCommand command, 
			PropertiesResource resource, InternalPropertiesDefine define, 
			InternalProperitesGroup proGroup) {
		return proGroup;
	}

	@Override
	public InternalProperitesGroup afterGroup(MacroCommand command, 
			PropertiesResource resource, InternalPropertiesDefine define, 
			InternalProperitesGroup proGroup) {
		return proGroup;
	}

	@Override
	public ExpressionClause readItem(MacroCommand command,
			PropertiesResource resource, InternalPropertiesDefine define,
			InternalProperitesGroup proGroup, ExpressionClause ec) {
		return ec;
	}

}
